Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Pablo Rodriguez
On 4/27/19 4:34 PM, Wolfgang Schuster wrote: >> [...] >> Is it intended that all nine lines are black? > > Yes, because there are no predefined palets with the names red, green or > blue. > > \definepalet >   [red] >   [ light=lightred, >    normal=middlered, > dark=darkred] Wolfgang,

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 27.04.2019 um 16:07: I found this code in ConTeXt (syst-aux.mkiv): \starttext \doloopoverlist {red,green,blue} { \setuppalet[\recursestring] \doloopoverlist {light,normal,dark} { \blackrule[color=\recursestring,

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Pablo Rodriguez
On 4/27/19 2:03 PM, Wolfgang Schuster wrote: > [...] > It's my fault, in this case there is only a single command to create and > change palet values. Many thanks for your explanation, Wolfgang. I found this code in ConTeXt (syst-aux.mkiv): \starttext \doloopoverlist {red,green,blue} {

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Wolfgang Schuster
. This is the only way it works: \definepalet[layout][grid=black] %~ \setuppalet[layout] [grid=black] \showgrid \starttext \ConTeXt\ is awesome! \stoptext I don’t know whether I’m missing something, but \showsetups{setuppalet} only shows this: \setuppalet

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Pablo Rodriguez
\definepalet[layout][grid=black] %~ \setuppalet[layout] [grid=black] \showgrid \starttext \ConTeXt\ is awesome! \stoptext I don’t know whether I’m missing something, but \showsetups{setuppalet} only shows this: \setuppalet [.*.] * NAME Many thanks for

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Wolfgang Schuster
Marcus Vinicius Mesquita schrieb am 27.04.2019 um 12:18: \definepalet[layout][grid=black] \setuppalet   [layout]   [grid=black] Wolfgang ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Marcus Vinicius Mesquita
\definepalet[layout][grid=black] On Sat, Apr 27, 2019, 07:04 Pablo Rodriguez wrote: > On 4/26/19 2:28 PM, Wolfgang Schuster wrote: > > [...] > > \showgrid highlights different page elements with colors but you can > > change the output > > > > https://www.ma

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Pablo Rodriguez
On 4/26/19 2:28 PM, Wolfgang Schuster wrote: > [...] > \showgrid highlights different page elements with colors but you can > change the output > > https://www.mail-archive.com/ntg-context@ntg.nl/msg90312.html Hi Wolfgang, is there any way to get the lines from \showgrid in black

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-26 Thread Wolfgang Schuster
Otared Kavian schrieb am 26.04.2019 um 14:10: Dear all, When typesetting an old list of exercises, I noticed that when \showgrid is active and a luafunction is called, there is some unwanted and strange background colors (gray and blue, or yellow and blue). Thes background colors seems

[NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-26 Thread Otared Kavian
Dear all, When typesetting an old list of exercises, I noticed that when \showgrid is active and a luafunction is called, there is some unwanted and strange background colors (gray and blue, or yellow and blue). Thes background colors seems to show up on an unfilled page when a lua function

Re: [NTG-context] Background color with \showgrid and columns

2019-02-08 Thread Marcus Vinicius Mesquita
Thank you, Wolfgang. Marcus Vinicius On Fri, Feb 8, 2019, 14:53 Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Marcus Vinicius Mesquita schrieb am 08.02.19 um 17:47: > > Dear list, > > > > When processing the attached mwe: > > > &g

Re: [NTG-context] Background color with \showgrid and columns

2019-02-08 Thread Wolfgang Schuster
Marcus Vinicius Mesquita schrieb am 08.02.19 um 17:47: Dear list, When processing the attached mwe: \setuplayout[grid=yes] \showgrid \setupcolumns[n=2] \starttext \startcolumns \input knuth \column \input knuth \stopcolumns \stoptext in the final result there is a background color. How do

[NTG-context] Background color with \showgrid and columns

2019-02-08 Thread Marcus Vinicius Mesquita
Dear list, When processing the attached mwe: \setuplayout[grid=yes] \showgrid \setupcolumns[n=2] \starttext \startcolumns \input knuth \column \input knuth \stopcolumns \stoptext in the final result there is a background color. How do I get rid of it? Marcus Vinicius mwe.tex Description

Re: [NTG-context] inner option for \showgrid

2019-02-05 Thread Marcus Vinicius Mesquita
Ok, thank you. Regards Marcus Vinicius On Mon, Feb 4, 2019, 07:13 Hans Hagen wrote: > On 2/3/2019 9:06 PM, Marcus Vinicius Mesquita wrote: > > Dear list, > > > > In the i-context.pdf file, among the \showgrid[…,…] options there are: > > right, left, and outer

Re: [NTG-context] inner option for \showgrid

2019-02-04 Thread Hans Hagen
On 2/3/2019 9:06 PM, Marcus Vinicius Mesquita wrote: Dear list, In the i-context.pdf file, among the \showgrid[…,…] options there are: right, left, and outer. Is it possible to add another option: inner? sure, but no beta today Hans

[NTG-context] inner option for \showgrid

2019-02-03 Thread Marcus Vinicius Mesquita
Dear list, In the i-context.pdf file, among the \showgrid[…,…] options there are: right, left, and outer. Is it possible to add another option: inner? TIA Marcus Vinicius ___ If your question is of interest

[NTG-context] \showgrid not working right

2018-05-23 Thread Marcus Vinicius Mesquita
Dear list, The frame around text area is appearing way below where it should be. ​​ Minimal working example: \setuplayout[grid=yes] \showgrid \starttext \input knuth.tex \stoptext My context version: mtx-context | current version: 2018.05.19 21:46 mkiv lua stats > used platform: li

Re: [NTG-context] [***SPAM***] Provide showgrid as a PDF layer

2013-11-30 Thread Hans Hagen
On 11/30/2013 12:04 AM, Jan Tosovsky wrote: Dear All, it would be nice to have a possibility to interactively disable/enable a grid rendered via \showgrid command. Whereas this grid is helpful for debugging, it disturbs when the page is evaluated as the whole. Using layers could make

Re: [NTG-context] [***SPAM***] Provide showgrid as a PDF layer

2013-11-30 Thread Jan Tosovsky
On 2013-11-30 Hans Hagen wrote: On 11/30/2013 12:04 AM, Jan Tosovsky wrote: it would be nice to have a possibility to interactively disable/enable a grid rendered via \showgrid command. \setupinteraction[state=start] \showgrid \showframe \showmakeup \showlayoutcomponents

[NTG-context] [***SPAM***] Provide showgrid as a PDF layer

2013-11-29 Thread Jan Tosovsky
Dear All, it would be nice to have a possibility to interactively disable/enable a grid rendered via \showgrid command. Whereas this grid is helpful for debugging, it disturbs when the page is evaluated as the whole. Using layers could make this process more efficient (not requiring to generate

[NTG-context] \showgrid

2009-09-11 Thread Andreas Harder
Hello, with ConTeXt ver: 2009.09.11 18:14 MKIV the use of \showgrid results in a blank page. \starttext \showgrid \input tufte \stoptext Regards Andreas ___ If your question is of interest to others

Re: [NTG-context] showframe - showgrid = 2pt ??

2008-01-14 Thread Hans Hagen
Steffen Wolfrum wrote: Hans, I know I've asked you this before ... I just can't find the answer anymore ;o( the magic word is topskip, so you're running into delta(topskip-strutheight) Hans -

[NTG-context] showframe - showgrid = 2pt ??

2008-01-12 Thread Steffen Wolfrum
, backspace=20mm,topspace=15mm, header=\XVertikal,headerdistance=0.5\XVertikal, footer=3.5\XVertikal,footerdistance=0pt, location=middle,marking=on,grid=yes] \showframe \showgrid \starttext bla \stoptext ... when height is made 2pt smaller then it fits: \newdimen

Re: [NTG-context] \showgrid question

2006-10-16 Thread Hans Hagen
Marcus Vinicius Mesquita de So wrote: Hi! Is there an option for the \showgrid command for showing only the line numbers (no lines) ? no, but it's easy to add that option, put this in cont-new.tex (after \unprotect) \chardef\gridboxlinenomode\plusone \chardef\gridboxlinemode \plusone % 0

[NTG-context] \showgrid question

2006-10-15 Thread Marcus Vinicius Mesquita de So
Hi!Is there an option for the \showgrid command for showing only the line numbers (no lines) ?Marcus Vinicius___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context